<%--
  
  User: Administrator
  Date: 2018/11/29
  Time: 14:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>服务处理</title>
    <link rel="stylesheet" href="/static/commons/layui/css/layui.css"/>
    <link rel="stylesheet" href="/static/css/public.css"/>
</head>
<body class="childrenBody">

<div class="layui-inline">
    <div class="layui-input-inline">
        <div class="layui-form-item">
            <label class="layui-form-label layui-bg-green layui-center">客户名称</label>
            <div class="layui-input-block">
                <input style="width: 200px" type="text" class="layui-input customerName" readonly/>
            </div>
        </div>
    </div>
    <div class="layui-input-inline">
        <div class="layui-form-item">
            <label class="layui-form-label layui-bg-green layui-center">服务类型</label>
            <div class="layui-input-block">
                <input style="width: 200px" type="text" class="layui-input serviceType" readonly/>
            </div>
        </div>
    </div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label layui-bg-green layui-center">概要</label>
    <div class="layui-input-block">
        <input type="text" class="layui-input outline" readonly/>
    </div>
</div>
<div class="layui-inline">
    <div class="layui-input-inline">
        <div class="layui-form-item">
            <label class="layui-form-label layui-bg-green layui-center">创建人</label>
            <div class="layui-input-block">
                <input style="width: 200px" type="text" class="layui-input creationName" readonly/>
            </div>
        </div>
    </div>
    <div class="layui-input-inline">
        <div class="layui-form-item">
            <label class="layui-form-label layui-bg-green layui-center">创建时间</label>
            <div class="layui-input-block">
                <input style="width: 200px" type="text" class="layui-input creationTime" readonly/>
            </div>
        </div>
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label layui-bg-green layui-center">服务请求</label>
    <div class="layui-input-block">
        <textarea type="text" class="layui-textarea serviceReq"  readonly></textarea>

    </div>
</div>
<div class="layui-inline">
    <div class="layui-input-inline">
        <div class="layui-form-item">
            <label class="layui-form-label layui-bg-green layui-center">分配给</label>
            <div class="layui-input-block">
                <input style="width: 200px" type="text" class="layui-input userName" readonly/>
            </div>
        </div>
    </div>
    <div class="layui-input-inline">
        <div class="layui-form-item">
            <label class="layui-form-label layui-bg-green layui-center">分配时间</label>
            <div class="layui-input-block">
                <input style="width: 200px" type="text" class="layui-input allotTime" readonly/>
            </div>
        </div>
    </div>
</div>


<form class="layui-form" id="handleForm">
    <div class="layui-inline">
        <div class="layui-input-inline">
            <div class="layui-form-item">
                <label class="layui-form-label layui-bg-green layui-center">编号</label>
                <div class="layui-input-block">
                    <input style="width: 200px" type="text" name="serviceId" class="layui-input num" readonly/>
                </div>
            </div>
        </div>
        <div class="layui-input-inline">
            <div class="layui-form-item">
                <label class="layui-form-label layui-bg-green layui-center">状态</label>
                <div class="layui-input-block">
                    <input style="width: 200px" type="text" class="layui-input status" readonly/>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label layui-bg-green layui-center">服务处理</label>
        <div class="layui-input-block">
            <textarea name="serviceHandle" lay-verify="required" autocomplete="off" placeholder="请输入内容"
                      class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <div class="layui-form-item ">
                <label class="layui-form-label layui-bg-green layui-center">处理人</label>
                <div class="layui-input-block">
                    <input style="width: 200px" type="text" name="handleName" autocomplete="off" class="layui-input "
                           lay-verify="required"/>
                </div>
            </div>
        </div>
        <div class="layui-input-inline">
            <div class="layui-form-item ">
                <label class="layui-form-label layui-bg-green layui-center">处理时间</label>
                <div class="layui-input-block">
                    <input type="text" style="width: 200px" name="handleTime" class="layui-input" id="time"
                           lay-verify="required"/>
                </div>
            </div>
        </div>
    </div>

</form>

<script type="text/javascript" src="static/commons/layui/layui.js"></script>
<script type="text/javascript" src="static/js/serviceManagement/handle-service.js"></script>

<script>
    layui.use('laydate', function () {
        let laydate = layui.laydate;
        laydate.render({
            elem: '#time',
            min: -5,
            max: 0
        });
    });
</script>
</body>
</html>